﻿// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Core</Project>
// <FileName>NullRequestInfo.cs</FileName>
// <CreateTime>2017-06-06 22:31</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-06-06 22:31" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using System;

namespace Vecen.BangChuang.Web {
    public class NullRequestInfo: IRequestInfo {
        /// <summary>
        /// 浏览器Agent
        /// </summary>
        public string UserAgent => String.Empty;

        /// <summary>
        /// 请求IP
        /// </summary>
        public string RemoteAddress => String.Empty;

        /// <summary>
        /// 请求地址
        /// </summary>
        public Uri RequestUri => new Uri(String.Empty);

        /// <summary>
        /// 当前应用根目录
        /// </summary>
        public string HostBaseUri => String.Empty;
    }
}